package zero.tech.games.phz.data.entity;

public class Card {
	private int id;
	private int card_id;
	private int color;//100 小 200 大
	private int num;//1-10
	public Card(int id,int color, int num) {
		super();
		this.id=id;
		this.color = color;
		this.num = num;
		this.card_id=color+num;
	}
	public Card() {
		super();
	}
	public int getCard_id() {
		return card_id;
	}
	public int getColor() {
		return color;
	}
	public int getNum() {
		return num;
	}
	public void setCard_id(int card_id) {
		this.card_id = card_id;
	}
	public void setColor(int color) {
		this.color = color;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return ""+card_id;
	}
}
